package com.yami.shop.user.common.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author yami
 */
@Data
public class UserBalanceWithdrawCashSaceParam {

    @Schema(description = "提现金额", required = true)
    @NotNull(message = "{yami.distribution.cash.param1}")
    @Min(value = 1, message = "{yami.distribution.cash.param2}")
    private Double amount;

    @Schema(description = "支付密码", required = true)
    private String payPassword;

    @Schema(description = "业务类型 08：协议号提现（默认）09：同名非绑卡提现", required = true)
    private String businessType;

    @Schema(description = "银行卡号")
    private String cardNo;

    @Schema(description = "绑卡协议号")
    private String bindCardAgrNo;



}
